class CreateBooks < ActiveRecord::Migration
  def change
    create_table :books do |t|
      t.integer :category_id
      t.string :isbn
      t.text :description
      t.integer :total_rate
      t.integer :copies
      t.date :publish_date
      t.string :publisher
      t.string :author
      t.string :amazon_link

      t.timestamps
    end
  end
end
